﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QuarterReportDisplay.aspx.cs" Inherits="Report_QuarterReportDisplay" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>年计划分析投影</title>
    <link href="../App_Themes/css/Report.css" rel="stylesheet" type="text/css" />    
    <style type="text/css">
     
        /*标黑投影显示的表格线*/
        td
        {
	        border-width:1px;
	        border-color:Black;
	        font-size:14pt;
        }        
        th
        {
            border-width:1px;
	        border-color:Black;
        }
        table
        {
            border-color:Black;
        }
    </style>
</head>
<body>
      <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td class="firstbjcolor" colspan="8" style="height: 14px;">
                    <span class="currentHere">当前位置:年计划统计管理-&gt;年计划统计分析</span></td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x">
                    年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpYear_SelectedIndexChanged"
                        SkinID="dropdownlistSkin">
                    </asp:DropDownList>年周期:<asp:DropDownList ID="drpQuarterDate" runat="server" OnSelectedIndexChanged="drpQuarterDate_SelectedIndexChanged"
                        SkinID="dropdownlistSkin">
                    </asp:DropDownList><asp:Button ID="btnGetReport" runat="server" OnClick="btnGetReport_Click" Text="生成报表" SkinID="buttonSkin" Width="60px" /><asp:Button ID="btnQuarterRate" runat="server" Text="年完成率图表" OnClick="btnQuarterRate_Click" SkinID="buttonSkin" Width="90px" /><asp:Button ID="btnQuarterDepartmentRate" runat="server" Text="部门完成率图表" OnClick="btnQuarterDepartmentRate_Click" SkinID="buttonSkin" Width="100px" /></td>
            </tr>
            <tr>
                <td>
        
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                    <asp:GridView ID="gdvQuarterReport" runat="server" AutoGenerateColumns="False" OnRowCreated="gdvMonthReport_RowCreated"
                        Width="100%">
                        <Columns>
                            <asp:BoundField DataField="DepartmentParentName" HeaderText="部门" />
                            <asp:BoundField DataField="DepartmentName" HeaderText="部门" />
                            <asp:BoundField DataField="PreQuarterPlanCount" HeaderText="计划总数" />
                            <asp:BoundField DataField="PreQuarterCompleteCount" HeaderText="圆满完成" />
                            <asp:BoundField DataField="TheQuarterPlanCount" HeaderText="计划总数" />
                            <asp:BoundField DataField="TheQuarterCompleteCount" HeaderText="圆满完成" />
                            <asp:BoundField DataField="TheQuarterSuccess" HeaderText="顺利进行" />
                            <asp:BoundField DataField="TheQuarterHindrance" HeaderText="有障碍" />
                            <asp:BoundField DataField="TheQuarterUnControl" HeaderText="失控" />
                            <asp:BoundField DataField="部门计划未完成率" HeaderText="部门计划未完成率" DataFormatString="{0:N2}%" />
                        </Columns>                        
                    </asp:GridView>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnGetReport" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
